package com.qumap.display.mvp;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.qumap.display.MapView;
import com.qumap.display.MapViewActivity;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 05.05.11
 * Time: 16:27
 * To change this template use File | Settings | File Templates.
 */
public class DisplayActivityMapper implements ActivityMapper {

	private MapView view;

	public DisplayActivityMapper(MapView view) {
		this.view = view;
	}

	@Override
	public Activity getActivity(Place place) {
		return new MapViewActivity(view);
	}
}
